package com.di.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.di.base.entity.StorageTbl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * (StorageTbl)表数据库访问层
 *
 * @author makejava
 * @since 2025-07-08 22:46:01
 */
@Mapper
public interface StorageTblDao extends BaseMapper<StorageTbl> {
    int decreaseStorage(@Param("productId") String productId, @Param("count") int count);
    int increaseStorage(@Param("productId") String productId, @Param("count") int count);

}

